<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>新致双录云平台</title>
<meta name="description" content="微营销管理平台">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="../../assets/img/main/liantongLOGO.jpg">
<link rel="apple-touch-icon-precomposed"
	href="../../assets/libs/amazeui/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet"
	href="../../assets/libs/ztree/css/zTreeStyle/zTreeStyle.css"
	type="text/css">
<link rel="stylesheet"
	href="../../assets/libs/amazeui/css/amazeui.min.css" />
<link rel="stylesheet"
	href="../../assets/libs/amazeui/css/app.css?v2017010301">
<link rel="stylesheet" href="../../assets/css/core.css?v2017010301">
<style>
	.bordernone {
		border: none !important;
	}

	.borderbottom {
		border-bottom: 1px solid #E6E6E6 !important;
	}

	.margin1 {
		margin-bottom: 20px;
	}

	thead {
		background-color: #F4F4F4;
	}

	.am-table>thead>tr>th {
		border: none;
	}

	td {
		border: none !important;
	}

	.am-table-striped>tbody>tr:nth-child(odd)>td {
		background-color: #fff;
	}

	.am-table-striped>tbody>tr:nth-child(even)>td {
		background-color: #FBFBFB;
	}

	.am-btn.am-radius {
		border-radius: 5px !important;
	}

	.am-btn-primary {
		background-color: #1890FF !important;
	}

	.am-btn-default {
		border: none !important;
	}

	.zzc {
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: rgba(000, 000, 000, .5);
		z-index: 9999;
	}
</style>
</head>

<body data-type="index" page-text="角色管理" style="overflow: hidden">
	<!--
    Conductor:Kangmengmeng
    Author:Kanemengmeng
    Time:2016.12.06 17:00:00
-->
	<div class="am-g tpl-g" id="main" v-cloak>
		<!-- 内容区域 -->
		<div class="tpl-content-wrapper content-margin-left">
			<!-- TODO 内容显示区域 -->
			<div class="row-content am-cf">
				<div class="row">
					<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
						<div class="widget am-cf">
							<div class="widget-head am-cf">
								<div class="widget-title am-fl">修改角色</div>
								<div class="widget-function am-fr"></div>
							</div>
							<div class="widget-body am-fr widget-search">
								<form class="am-form tpl-form-border-form tpl-form-border-br">
									<div class="am-u-sm-12 am-u-md-12 am-u-lg-12 del-padding margin1">
										<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-4 borderbottom">
											<label class="am-form-label am-u-sm-4 am-u-md-6 am-u-lg-6 am-u-sm-pull-2 am-u-md-pull-2 am-u-lg-pull-2">角色编码<span style="color: red">*</span></label>
											<div class="am-u-sm-6 am-u-md-6 am-u-lg-6  am-u-sm-pull-4 am-u-md-pull-2 am-u-lg-pull-2">
												<input type="text" class="tpl-form-input bordernone" placeholder="角色编码" disabled v-model="role.roleNo">
											</div>
										</div>
										<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-5 am-u-lg-3 am-u-md-push-1 am-u-lg-push-1 borderbottom">
											<label class="am-form-label am-u-sm-4 am-u-md-6 am-u-lg-6 am-u-sm-pull-2 am-u-md-pull-3 am-u-lg-pull-3">角色名称</label>
											<div class="am-u-sm-6 am-u-md-6 am-u-lg-6  am-u-sm-pull-4 am-u-md-pull-2 am-u-lg-pull-2">
												<input type="text" class="tpl-form-input bordernone" placeholder="角色名称" disabled v-model="role.roleName">
											</div>
										</div>
										<div class="am-form-group am-form-group-sm am-u-sm-12 am-u-md-6 am-u-lg-3 am-u-md-pull-6 am-u-lg-pull-0 borderbottom">
											<label for="role-type" class="am-form-label am-u-sm-4 am-u-md-6 am-u-lg-6 am-u-sm-pull-2 am-u-md-pull-3 am-u-lg-pull-3">角色类型</label>
											<div class="am-u-sm-6 am-u-md-6 am-u-lg-6  am-u-sm-pull-4 am-u-md-pull-3 am-u-lg-pull-2">
												<select id="roleType"
													data-am-selected="{btnWidth: '100%',btnSize:'sm'}" disabled
													v-model="role.roleType">
													<option value=""></option>
													<option v-for="item of roleTypes" v-bind:value="item.code">{{item.name}}</option>
												</select>
											</div>
										</div>
									</div>
									<div class="am-form-group am-u-sm-12">
										<div
											class="am-u-sm-9 am-u-sm-push-3 am-u-md-7 am-u-md-push-5 am-u-lg-7 am-u-lg-push-5">
											<button type="button"
												class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs"
												@click="saveRoleMenu()">
												<span class="am-icon-save"></span>&nbsp;保存
											</button>
											<button type="button"
												class="am-btn am-btn-danger tpl-btn-bg-color-success am-btn-xs"
												@click="goBtn()">
												<span class="am-icon-backward"></span>&nbsp;返回
											</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>

					<div class="am-u-sm-12 widget-margin-bottom-lg ">
						<div class="widget am-cf widget-body-lg">
							<div class="widget-head am-cf">
								<div class="widget-title am-fl">菜单权限</div>
							</div>

							<div class="widget-body  am-fr">
								<form class="am-form tpl-form-border-form tpl-form-border-br">
									<div class="am-u-sm-12">
										<ul id="menuTree" class="ztree"></ul>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="../../assets/js/util/crypto-js.min.js"></script>
	<script src="../../assets/js/util/Aes.js"></script>
	<script src="../../assets/libs/amazeui/js/jquery.min.js"></script>
	<script src="../../assets/libs/vue/vue.min.js"></script>
	<script src="../../assets/libs/amazeui/js/theme.js"></script>
	<script src="../../assets/libs/amazeui/js/amazeui.min.js"></script>
	<script type="text/javascript"
		src="../../assets/libs/ztree/js/jquery.ztree.core.js"></script>
	<script type="text/javascript"
		src="../../assets/libs/ztree/js/jquery.ztree.excheck.js"></script>
	<script src="../../assets/js/util/inner.js?v2017010301"></script>
	<script src="../../assets/env.js?v2017010301"></script>
	<script src="../../assets/js/util/common.js?v2017010301"></script>
	<script src="../../assets/js/biz/sys/role/menu.js?v2017010301"></script>
</body>

</html>